const mockQuery = {
  code: 'ok',
  message: '',
  data: {
    list: [
      {
        key: '1',
        id: 1,
        username: '小绵羊',
        mobile: '18688858151',
        channel :"微信",
        gender :"1",
        country :"China",
        province :"Guangdong",
        city :"Meizhou",
        email :"email@163.com",
        openId :"WX5151",
        creator: '刘曾荣',
        creatTime: '2019-09-09',
      },
    ],
    pagination: {
      currency: 1,
      total: 20,
      pageSize: 20,
    },
  },
};

const mockCreate = {
  code: 'ok',
  message: '',
  data: {},
};

const mockUpdate = {
  code: 'ok',
  message: '',
  data: {},
};

const mockRemove = {
  code: 'ok',
  message: '',
  data: {},
};

export default {
  'GET /api/potentialCustomer/query': mockQuery,
  'POST /api/potentialCustomer/create': mockCreate,
  'POST /api/potentialCustomer/update': mockUpdate,
  'POST /api/potentialCustomer/remove': mockRemove,
};
